/*
 * @Author: your name
 * @Date: 2020-12-01 18:14:33
 * @LastEditTime: 2021-09-08 23:48:18
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \zw_site\middleware\permission.js
 */

export default function ({ store, route, redirect, $config }) {
    /* if (route.path === '/login') {
    const hastoken = store.getters['user/vipToken']
    // console.log(hastoken)
    if (hastoken) {
      if (process.env.NODE_ENV !== 'development') {
        // 跳转到已登录页面
        redirect('/')
      }
    }
  } */
}
